Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

  Common

  Consts

  Container

  Decoders

  EnhancedAC3

  Decoder

  ChannelCount

  DecodeBlock(float[], long, long)

  Decoder()

  Decoder(BlockBuffer)

  Length

  Position

  reader

  SampleRate

  Seek(long)

  DummyDecoder

  EnhancedAC3Decoder

  FrameBasedDecoder

  RIFFWaveDecoder

  Environment

  FilterSet

  Renderers

  Transcoders

  Utilities

  AudioFormat

  AudioReader

  AudioTrackReader

  AudioWriter

  BitDepth

  EnhancedAC3Reader

  LAFMode

  LimitlessAudioFormatReader

  LimitlessAudioFormatWriter

  RIFFWaveReader

  RIFFWaveWriter

  SegmentedAudioReader

  SegmentedAudioWriter

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class Decoder

Converts a bitstream to raw samples.
VisibilityPublic
Modifiersabstract

Public functions

Constructor Decoder(BlockBuffer<byte> reader) Converts a bitstream to raw samples.

Protected functions

Decoder()Gives the possibility of setting reader after a derived constructor has read a header.

Public properties

int ChannelCountContent channel count.
long LengthContent length in samples for a single channel.
long PositionLocation in the stream in samples. Formats that don't support this feature return -1.
int SampleRateBitstream sample rate.

Public variables

void DecodeBlock(float[] target, long from, long to)Read and decode a given number of samples.
void Seek(long sample)Start the following reads from the selected sample.

Protected variables

BlockBuffer<byte> readerStream reader and block regrouping object.